/**********************************************************************************
*
*    Copyright (c) 2017-today MuK IT GmbH.
*
*    This file is part of MuK Theme
*    (see https://mukit.at).
*
*    This program is free software: you can redistribute it and/or modify
*    it under the terms of the GNU Lesser General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*
*    This program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU Lesser General Public License for more details.
*
*    You should have received a copy of the GNU Lesser General Public License
*    along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**********************************************************************************/

@include media-breakpoint-down(sm) {
    .o_main_navbar {
    	grid-template-areas: "apps brand systray sections";
		grid-template-columns: minmax($o-navbar-height, max-content) max-content auto minmax($o-navbar-height, max-content);
		.o_menu_brand {
		    display: none;
		}
		.o_menu_sections {
            width: $o-navbar-height;
        }
        .o_menu_sections_more {
            .dropdown-toggle {
                font-size: $font-size-lg;
            }
            .fa-plus:before {
                content: "\f0c9";
            }
        }
		.o_debug_manager, .o_user_menu, .o_switch_company_menu {
			> .dropdown-toggle {
				padding: 0 12px !important;
			}
		} 
		.o_menu_systray {
		    margin-left: auto;
		}
		.o_user_menu {
			margin: 0;
		}
		.o_user_menu > .dropdown-toggle {
			white-space: nowrap;
			&::before, &::after {
			    content: normal;
			}
			.oe_topbar_name {
			    display: none;
			}
		}
		.show .dropdown-menu {
			@include mk-full-screen-menu();
			font-size: $font-size-lg;
		}
    }
}